package www.ld.com.domain.category.pojo;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import www.ld.com.dictionary.ShowStatusEnum;
import www.ld.com.domain.pojo.BasePO;

@TableName("pms_category")
@Data
@Accessors(chain = true)
@ToString
@EqualsAndHashCode(callSuper = true)
public class CategoryPO extends BasePO {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long parentId;
    private String name;
    private Integer level;
    private Integer sort;
    private String icon;
    @EnumValue
    private ShowStatusEnum showStatus;
}
